gdk/wayland: Don't remap non-subsurface as subsurface
authorJonas Ådahl <jadahl@gmail.com>
Fri, 10 Aug 2018 15:07:05 +0000 (17:07 +0200)
committerJonas Ådahl <jadahl@gmail.com>
Fri, 10 Aug 2018 16:32:54 +0000 (18:32 +0200)
commit1ed53199c56cf8927efe417c05ab4424f32b30e5
tree3ec94b9137192119ebe11fbdee8890ca59cbd022
parent2e9439b017186e2784a49e9396c34c0f40fa88ff
gdk/wayland: Don't remap non-subsurface as subsurface

Let's just use the fact that a window was mapped as a subsurface to
remap it above another transient parent instead of relying on the more
complicated 'should-map-as-subsurface' helper function.
gdk/wayland/gdkwindow-wayland.c